asPredicate

@NonNull
open fun asPredicate(@NonNull matcher: @NonNull UriMatcher): @NonNull Predicate<Uri>(source)

Creates a Uri predicate from a UriMatcher.

Return

the predicate created from the uriMatcher.

Parameters

matcher

the uriMatcher.